package net.wanho.service.impl;

import net.wanho.entity.Perms;
import net.wanho.mapper.PermsMapper;
import net.wanho.service.PermsService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Author：汤小洋
 * Date：2024-08-19 11:24
 * Description：<描述>
 */
@Service
public class PermsServiceImpl implements PermsService {

    @Resource
    private PermsMapper permsMapper;

    @Override
    public List<Perms> findByRoleId(Integer id) {
        return permsMapper.selectByRoleId(id);
    }
}
